#app {
  // 主体区域
  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: 180px;
  }
  // 侧边栏
  .sidebar-container {
    transition: width 0.28s;
    width: 240px !important;
    border-right: 1px solid #cddfea;
    height: 100%;
    z-index: 1001;
    overflow: hidden;
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .is-horizontal {
      display: none;
    }
    a {
      width: 100%;
      overflow: hidden;
    }
    hr{
      width: 88%;
      background-color: #cddfea;
      height: 1px;
      border: none;
    }
    .el-scrollbar__wrap {
      overflow: auto;
    }
    .el-menu-item {
      font-size: 16px;
      color: #426a87;
      padding: 0 20px;
      padding-left: 20% !important;
      cursor: pointer;
      margin: 10px 0;
      -webkit-transition: border-color .3s,background-color .3s,color .3s;
      transition: border-color .3s,background-color .3s,color .3s;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
    }
    .svg-icon {
      margin-right: 16px;
    }
    .el-menu {
      border: none;
      height: 100%;
      width: 100% !important;
      background-color: #f4fffd;
      i{
        display: inline-block;
        width: 21px;
        height: 21px;
      }
      .el-submenu__title{
        padding-left: 20%!important;
        font-size: 16px;
        color: #426a87;
        &:hover {
          background-color: #e4f1ef !important;
        }
        &:focus {
          background-color: #f4fffd;
        }
        .el-submenu__icon-arrow{
          right:20%!important;
        }
        .i-data {
          background: url("../../static/images/i-icons.png") 0 -244px;
          &:focus {
            background: url("../../static/images/i-icon-active.png") 0 -244px;
          }
        }
      }
      .el-menu-item {
        min-width: 240px !important;
        &:hover {
          background-color: #e4f1ef !important;
        }
        &:focus {
          color: #02b692;
          background-color: #f4fffd;
        }
        .el-submenu__icon-arrow{
          display: none;
        }
        .i-home {
          background: url("../../static/images/i-icons.png") 0 -1px;
        }
        .i-plus {
          width: 15px;
          height: 15px;
          margin-left: 3px;
          background: url("../../static/images/i-plus.png");
        }
        .i-order {
          background: url("../../static/images/i-icons.png") 0 -62px;
        }
        .i-list {
          background: url("../../static/images/i-icons.png") 0 -122px;
        }
        .i-wxinfo {
          background: url("../../static/images/i-icons.png") 0 -182px;
        }
        .i-point {
          background: url("../../static/images/i-point_03.png") 0 3px;
        }
        .is-active{
          .i-home{
            background: url("../../static/images/i-icon-active.png") 0 1px;
            outline: none;
          }
          .i-plus{
            width: 15px;
            height: 15px;
            margin-left: 3px;
            background: url("../../static/images/i-plus-active.png");
            outline: none;
          }
          .i-order {
            background: url("../../static/images/i-icon-active.png") 0 -61px;
            outline: none;
          }
          .i-list {
            background: url("../../static/images/i-icon-active.png") 0 -120px;
          }
          .i-wxinfo {
            background: url("../../static/images/i-icon-active.png") 0 -180px;
            outline: none;
          }
          .i-point {
            background: url("../../static/images/i-point_03.png") 0 17px;
            outline: none;
          }
        }
      }
    }
  }
  .hideSidebar {
    .sidebar-container {
      width: 36px !important;
      overflow-x: hidden;
    }
    .main-container {
      margin-left: 36px;
    }
    .submenu-title-noDropdown {
      padding-left: 10px !important;
      position: relative;
      .el-tooltip {
        padding: 0 10px !important;
      }
    }

    .el-submenu {
      overflow: hidden;
      &>.el-submenu__title {
        padding-left: 10px !important;
        .el-submenu__icon-arrow {
          display: none;
          right:30%!important;
        }
      }
    }
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }
  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: 200px !important;
    &:hover {
      background-color: #e4f1ef !important;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 200px !important;
  }

  .is-active{
    color:#02b692!important;
    i{
      display: inline-block;
      width: 21px;
      height: 21px;
    }
    .i-home{
      background: url("../../static/images/i-icon-active.png") 0 1px!important;
      outline: none;
    }
    .i-plus{
      width: 15px;
      height: 15px;
      margin-left: 3px;
      background: url("../../static/images/i-plus-active.png");
      outline: none;
    }
    .i-order {
      background: url("../../static/images/i-icon-active.png") 0 -61px!important;;
      outline: none;
    }
    .i-list {
      background: url("../../static/images/i-icon-active.png") 0 -120px!important;;
    }
    .i-wxinfo {
      background: url("../../static/images/i-icon-active.png") 0 -180px!important;;
      outline: none;
    }
    .i-point {
      background: url("../../static/images/i-point_03.png") 0 17px!important;;
      outline: none;
    }
  }

    //适配移动端
  .mobile {
    .main-container {
      margin-left: 0px;
    }
    .sidebar-container {
      transition: transform .28s;
      width: 200px !important;
    }
    &.hideSidebar {
      .sidebar-container {
        transition-duration: 0.3s;
        transform: translate3d(-180px, 0, 0);
      }
    }
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}
